@color1: #ec3e27;
@color2: #fd79a8;
@color3: #0984e3;
@color4: #00b894;
@color5: #34495c;

.root {
  width: 100%;
  height: 100%;
  background-color: #20202060;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.loader {
  width: 24px;
  height: 24px;
  max-width: 45px;
  max-height: 45px;
  border-radius: 50%;
  border: 3px solid @color4;
  transition: 0.5s;
}

.loading1 {
  animation: animate_rotate1 0.5s linear infinite both;
  border-color: @color5;
  border-left-color: @color4;
  position: relative;
}
.loading1:after {
  content: '';
  position: absolute;
  width: 50%;
  height: 100%;
}

@keyframes animate_rotate1 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading2 {
  animation: animate_rotate2 0.5s linear infinite both;
  border-color: @color5;
  border-left-color: @color4;
}

@keyframes animate_rotate2 {
  0% {
    transform: rotate(0deg);
    border-left-color: @color1;
  }
  25% {
    border-left-color: @color2;
  }
  50% {
    border-left-color: @color3;
  }
  75% {
    border-left-color: @color4;
  }
  100% {
    transform: rotate(360deg);
    border-left-color: @color1;
  }
}

.loadmsg {
  margin-left: 10px;
}
